$OpenBSD: patch-components_editor_gtkhtml-spell-dialog_c,v 1.1 2011/03/07 19:27:27 ajacoutot Exp $

From 57bbc12bed38ecfcd7a0da61dabcfc91d3f44c56 Mon Sep 17 00:00:00 2001
From: Matthew Barnes <mbarnes@redhat.com>
Date: Sat, 18 Sep 2010 02:58:36 +0000
Subject: Work around deprecation of gtk_dialog_set_has_separator().

--- components/editor/gtkhtml-spell-dialog.c.orig	Mon Sep 13 14:16:10 2010
+++ components/editor/gtkhtml-spell-dialog.c	Mon Feb  7 08:07:16 2011
@@ -443,7 +443,9 @@ spell_dialog_init (GtkhtmlSpellDialog *dialog)
 
 	gtk_dialog_add_button (
 		GTK_DIALOG (dialog), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
-	gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+#if !GTK_CHECK_VERSION(2,90,7)
+	g_object_set (dialog, "has-separator", FALSE, NULL);
+#endif
 	gtk_window_set_title (GTK_WINDOW (dialog), _("Spell Checker"));
 	gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
 
